function ng_unvs_W8_kendo_tree_view($tmp) {
    $tmp.$a.$observe("source", function (v) {
        var data = $tmp.$s.$eval(v);
        if (angular.isUndefined(data)) return;
        if ($tmp.kTreeView) {
            $tmp.kTreeView.destroy();
        }
        $tmp.kTreeView = $($tmp.$e[0]).kendoTreeView({
            dataSource: {
                data: data
            },
            loadOnDemand: false,
            select: function (e) {
                var dataItem = $tmp.kTreeView.dataItem(e.node);
                if ($tmp.$a.selectedItem) {
                    ngW8.$("$parse")($tmp.$a.selectedItem).assign($tmp.$s.$parent, dataItem);
                }
                if ($tmp.$a.onSelect) {
                    $tmp.$s.$eval($tmp.$a.onSelect);
                }
                $tmp.$s.$digest();
            }
        }).data("kendoTreeView");
        if ($tmp.$a.selectedItem) {
            ngW8.$("$parse")($tmp.$a.selectedItem).assign($tmp.$s.$parent, data[0]);

        }
        if ($tmp.$a.onSelect) {
            $tmp.$s.$eval($tmp.$a.onSelect);
        }
        $tmp.$s.$digest();
    });
};